using System;
using System.Collections.Generic;
using System.Text;

namespace Entities
{
    /// <summary>
    /// Represents alls information about errors is occur of Systems or by User
    /// </summary>
    public class Log
    {
        #region Variable Private
        private int _logID;
        private string _logName;
        private DateTime _loggedDate;
        #endregion

        #region Properties Public
        public int LogID
        {
            get { return _logID; }
            set { _logID = value; }
        }
        public string LogName
        {
            get { return _logName; }
            set { _logName = value; }
        }
        public DateTime LoggedDate
        {
            get { return _loggedDate; }
            set { _loggedDate = value; }
        }
        #endregion

        #region Constructor
        public Log() { }
        public Log(string logName, DateTime loggedDate)
        {
            this.LogName = logName;
            this.LoggedDate = loggedDate;
        }
        public Log(int logID, string logName, DateTime loggedDate)
        {
            this.LogID = logID;
            this.LogName = logName;
            this.LoggedDate = loggedDate;
        }


        #endregion
    }
}
